\(\int x^2 (d+e x^2) (a+b \sec ^{-1}(c x)) \, dx\) [70]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [A] (verification not implemented)
   Giac [B] (verification not implemented)
   Mupad [F(-1)]

Optimal result

Integrand size = 19, antiderivative size = 161 \[ \int x^2 \left (d+e x^2\right ) \left (a+b \sec ^{-1}(c x)\right ) \, dx=-\frac {b \left (20 c^2 d+9 e\right ) x^2 \sqrt {-1+c^2 x^2}}{120 c^3 \sqrt {c^2 x^2}}-\frac {b e x^4 \sqrt {-1+c^2 x^2}}{20 c \sqrt {c^2 x^2}}+\frac {1}{3} d x^3 \left (a+b \sec ^{-1}(c x)\right )+\frac {1}{5} e x^5 \left (a+b \sec ^{-1}(c x)\right )-\frac {b \left (20 c^2 d+9 e\right ) x \text {arctanh}\left (\frac {c x}{\sqrt {-1+c^2 x^2}}\right )}{120 c^4 \sqrt {c^2 x^2}} \]

[Out]

1/3*d*x^3*(a+b*arcsec(c*x))+1/5*e*x^5*(a+b*arcsec(c*x))-1/120*b*(20*c^2*d+9*e)*x*arctanh(c*x/(c^2*x^2-1)^(1/2)
)/c^4/(c^2*x^2)^(1/2)-1/120*b*(20*c^2*d+9*e)*x^2*(c^2*x^2-1)^(1/2)/c^3/(c^2*x^2)^(1/2)-1/20*b*e*x^4*(c^2*x^2-1
)^(1/2)/c/(c^2*x^2)^(1/2)

Rubi [A] (verified)

Time = 0.08 (sec) , antiderivative size = 161, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.368, Rules used = {14, 5346, 12, 470, 327, 223, 212} \[ \int x^2 \left (d+e x^2\right ) \left (a+b \sec ^{-1}(c x)\right ) \, dx=\frac {1}{3} d x^3 \left (a+b \sec ^{-1}(c x)\right )+\frac {1}{5} e x^5 \left (a+b \sec ^{-1}(c x)\right )-\frac {b x \text {arctanh}\left (\frac {c x}{\sqrt {c^2 x^2-1}}\right ) \left (20 c^2 d+9 e\right )}{120 c^4 \sqrt {c^2 x^2}}-\frac {b e x^4 \sqrt {c^2 x^2-1}}{20 c \sqrt {c^2 x^2}}-\frac {b x^2 \sqrt {c^2 x^2-1} \left (20 c^2 d+9 e\right )}{120 c^3 \sqrt {c^2 x^2}} \]

[In]

Int[x^2*(d + e*x^2)*(a + b*ArcSec[c*x]),x]

[Out]

-1/120*(b*(20*c^2*d + 9*e)*x^2*Sqrt[-1 + c^2*x^2])/(c^3*Sqrt[c^2*x^2]) - (b*e*x^4*Sqrt[-1 + c^2*x^2])/(20*c*Sq
rt[c^2*x^2]) + (d*x^3*(a + b*ArcSec[c*x]))/3 + (e*x^5*(a + b*ArcSec[c*x]))/5 - (b*(20*c^2*d + 9*e)*x*ArcTanh[(
c*x)/Sqrt[-1 + c^2*x^2]])/(120*c^4*Sqrt[c^2*x^2])

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rule 212

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 223

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rule 327

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[c^(n - 1)*(c*x)^(m - n + 1)*((a + b*x^n
)^(p + 1)/(b*(m + n*p + 1))), x] - Dist[a*c^n*((m - n + 1)/(b*(m + n*p + 1))), Int[(c*x)^(m - n)*(a + b*x^n)^p
, x], x] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0] && GtQ[m, n - 1] && NeQ[m + n*p + 1, 0] && IntBinomialQ[a, b,
 c, n, m, p, x]

Rule 470

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_)), x_Symbol] :> Simp[d*(e*x)^(m +
 1)*((a + b*x^n)^(p + 1)/(b*e*(m + n*(p + 1) + 1))), x] - Dist[(a*d*(m + 1) - b*c*(m + n*(p + 1) + 1))/(b*(m +
 n*(p + 1) + 1)), Int[(e*x)^m*(a + b*x^n)^p, x], x] /; FreeQ[{a, b, c, d, e, m, n, p}, x] && NeQ[b*c - a*d, 0]
 && NeQ[m + n*(p + 1) + 1, 0]

Rule 5346

Int[((a_.) + ArcSec[(c_.)*(x_)]*(b_.))*((f_.)*(x_))^(m_.)*((d_.) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> With[{u =
 IntHide[(f*x)^m*(d + e*x^2)^p, x]}, Dist[a + b*ArcSec[c*x], u, x] - Dist[b*c*(x/Sqrt[c^2*x^2]), Int[SimplifyI
ntegrand[u/(x*Sqrt[c^2*x^2 - 1]), x], x], x]] /; FreeQ[{a, b, c, d, e, f, m, p}, x] && ((IGtQ[p, 0] &&  !(ILtQ
[(m - 1)/2, 0] && GtQ[m + 2*p + 3, 0])) || (IGtQ[(m + 1)/2, 0] &&  !(ILtQ[p, 0] && GtQ[m + 2*p + 3, 0])) || (I
LtQ[(m + 2*p + 1)/2, 0] &&  !ILtQ[(m - 1)/2, 0]))

Rubi steps \begin{align*} \text {integral}& = \frac {1}{3} d x^3 \left (a+b \sec ^{-1}(c x)\right )+\frac {1}{5} e x^5 \left (a+b \sec ^{-1}(c x)\right )-\frac {(b c x) \int \frac {x^2 \left (5 d+3 e x^2\right )}{15 \sqrt {-1+c^2 x^2}} \, dx}{\sqrt {c^2 x^2}} \\ & = \frac {1}{3} d x^3 \left (a+b \sec ^{-1}(c x)\right )+\frac {1}{5} e x^5 \left (a+b \sec ^{-1}(c x)\right )-\frac {(b c x) \int \frac {x^2 \left (5 d+3 e x^2\right )}{\sqrt {-1+c^2 x^2}} \, dx}{15 \sqrt {c^2 x^2}} \\ & = -\frac {b e x^4 \sqrt {-1+c^2 x^2}}{20 c \sqrt {c^2 x^2}}+\frac {1}{3} d x^3 \left (a+b \sec ^{-1}(c x)\right )+\frac {1}{5} e x^5 \left (a+b \sec ^{-1}(c x)\right )+\frac {\left (b c \left (-20 d-\frac {9 e}{c^2}\right ) x\right ) \int \frac {x^2}{\sqrt {-1+c^2 x^2}} \, dx}{60 \sqrt {c^2 x^2}} \\ & = -\frac {b \left (20 c^2 d+9 e\right ) x^2 \sqrt {-1+c^2 x^2}}{120 c^3 \sqrt {c^2 x^2}}-\frac {b e x^4 \sqrt {-1+c^2 x^2}}{20 c \sqrt {c^2 x^2}}+\frac {1}{3} d x^3 \left (a+b \sec ^{-1}(c x)\right )+\frac {1}{5} e x^5 \left (a+b \sec ^{-1}(c x)\right )+\frac {\left (b \left (-20 d-\frac {9 e}{c^2}\right ) x\right ) \int \frac {1}{\sqrt {-1+c^2 x^2}} \, dx}{120 c \sqrt {c^2 x^2}} \\ & = -\frac {b \left (20 c^2 d+9 e\right ) x^2 \sqrt {-1+c^2 x^2}}{120 c^3 \sqrt {c^2 x^2}}-\frac {b e x^4 \sqrt {-1+c^2 x^2}}{20 c \sqrt {c^2 x^2}}+\frac {1}{3} d x^3 \left (a+b \sec ^{-1}(c x)\right )+\frac {1}{5} e x^5 \left (a+b \sec ^{-1}(c x)\right )+\frac {\left (b \left (-20 d-\frac {9 e}{c^2}\right ) x\right ) \text {Subst}\left (\int \frac {1}{1-c^2 x^2} \, dx,x,\frac {x}{\sqrt {-1+c^2 x^2}}\right )}{120 c \sqrt {c^2 x^2}} \\ & = -\frac {b \left (20 c^2 d+9 e\right ) x^2 \sqrt {-1+c^2 x^2}}{120 c^3 \sqrt {c^2 x^2}}-\frac {b e x^4 \sqrt {-1+c^2 x^2}}{20 c \sqrt {c^2 x^2}}+\frac {1}{3} d x^3 \left (a+b \sec ^{-1}(c x)\right )+\frac {1}{5} e x^5 \left (a+b \sec ^{-1}(c x)\right )-\frac {b \left (20 c^2 d+9 e\right ) x \text {arctanh}\left (\frac {c x}{\sqrt {-1+c^2 x^2}}\right )}{120 c^4 \sqrt {c^2 x^2}} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.13 (sec) , antiderivative size = 123, normalized size of antiderivative = 0.76 \[ \int x^2 \left (d+e x^2\right ) \left (a+b \sec ^{-1}(c x)\right ) \, dx=\frac {c^2 x^2 \left (8 a c^3 x \left (5 d+3 e x^2\right )-b \sqrt {1-\frac {1}{c^2 x^2}} \left (9 e+c^2 \left (20 d+6 e x^2\right )\right )\right )+8 b c^5 x^3 \left (5 d+3 e x^2\right ) \sec ^{-1}(c x)-b \left (20 c^2 d+9 e\right ) \log \left (\left (1+\sqrt {1-\frac {1}{c^2 x^2}}\right ) x\right )}{120 c^5} \]

[In]

Integrate[x^2*(d + e*x^2)*(a + b*ArcSec[c*x]),x]

[Out]

(c^2*x^2*(8*a*c^3*x*(5*d + 3*e*x^2) - b*Sqrt[1 - 1/(c^2*x^2)]*(9*e + c^2*(20*d + 6*e*x^2))) + 8*b*c^5*x^3*(5*d
 + 3*e*x^2)*ArcSec[c*x] - b*(20*c^2*d + 9*e)*Log[(1 + Sqrt[1 - 1/(c^2*x^2)])*x])/(120*c^5)

Maple [A] (verified)

Time = 0.60 (sec) , antiderivative size = 254, normalized size of antiderivative = 1.58

method result size
parts \(a \left (\frac {1}{5} e \,x^{5}+\frac {1}{3} d \,x^{3}\right )+\frac {b \,\operatorname {arcsec}\left (c x \right ) e \,x^{5}}{5}+\frac {b \,\operatorname {arcsec}\left (c x \right ) x^{3} d}{3}-\frac {b \left (c^{2} x^{2}-1\right ) x^{2} e}{20 c^{3} \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}-\frac {b \left (c^{2} x^{2}-1\right ) d}{6 c^{3} \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}-\frac {3 b \left (c^{2} x^{2}-1\right ) e}{40 c^{5} \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}-\frac {b \sqrt {c^{2} x^{2}-1}\, d \ln \left (c x +\sqrt {c^{2} x^{2}-1}\right )}{6 c^{4} \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, x}-\frac {3 b \sqrt {c^{2} x^{2}-1}\, e \ln \left (c x +\sqrt {c^{2} x^{2}-1}\right )}{40 c^{6} \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, x}\) \(254\)
derivativedivides \(\frac {\frac {a \left (\frac {1}{3} d \,c^{5} x^{3}+\frac {1}{5} e \,c^{5} x^{5}\right )}{c^{2}}+\frac {b \,\operatorname {arcsec}\left (c x \right ) d \,c^{3} x^{3}}{3}+\frac {b \,c^{3} \operatorname {arcsec}\left (c x \right ) e \,x^{5}}{5}-\frac {b \left (c^{2} x^{2}-1\right ) d}{6 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}-\frac {b \left (c^{2} x^{2}-1\right ) x^{2} e}{20 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}-\frac {b \sqrt {c^{2} x^{2}-1}\, d \ln \left (c x +\sqrt {c^{2} x^{2}-1}\right )}{6 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c x}-\frac {3 b \left (c^{2} x^{2}-1\right ) e}{40 c^{2} \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}-\frac {3 b \sqrt {c^{2} x^{2}-1}\, e \ln \left (c x +\sqrt {c^{2} x^{2}-1}\right )}{40 c^{3} \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, x}}{c^{3}}\) \(267\)
default \(\frac {\frac {a \left (\frac {1}{3} d \,c^{5} x^{3}+\frac {1}{5} e \,c^{5} x^{5}\right )}{c^{2}}+\frac {b \,\operatorname {arcsec}\left (c x \right ) d \,c^{3} x^{3}}{3}+\frac {b \,c^{3} \operatorname {arcsec}\left (c x \right ) e \,x^{5}}{5}-\frac {b \left (c^{2} x^{2}-1\right ) d}{6 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}-\frac {b \left (c^{2} x^{2}-1\right ) x^{2} e}{20 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}-\frac {b \sqrt {c^{2} x^{2}-1}\, d \ln \left (c x +\sqrt {c^{2} x^{2}-1}\right )}{6 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c x}-\frac {3 b \left (c^{2} x^{2}-1\right ) e}{40 c^{2} \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}-\frac {3 b \sqrt {c^{2} x^{2}-1}\, e \ln \left (c x +\sqrt {c^{2} x^{2}-1}\right )}{40 c^{3} \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, x}}{c^{3}}\) \(267\)

[In]

int(x^2*(e*x^2+d)*(a+b*arcsec(c*x)),x,method=_RETURNVERBOSE)

[Out]

a*(1/5*e*x^5+1/3*d*x^3)+1/5*b*arcsec(c*x)*e*x^5+1/3*b*arcsec(c*x)*x^3*d-1/20*b/c^3*(c^2*x^2-1)/((c^2*x^2-1)/c^
2/x^2)^(1/2)*x^2*e-1/6*b/c^3*(c^2*x^2-1)/((c^2*x^2-1)/c^2/x^2)^(1/2)*d-3/40*b/c^5*(c^2*x^2-1)/((c^2*x^2-1)/c^2
/x^2)^(1/2)*e-1/6*b/c^4*(c^2*x^2-1)^(1/2)/((c^2*x^2-1)/c^2/x^2)^(1/2)/x*d*ln(c*x+(c^2*x^2-1)^(1/2))-3/40*b/c^6
*(c^2*x^2-1)^(1/2)/((c^2*x^2-1)/c^2/x^2)^(1/2)/x*e*ln(c*x+(c^2*x^2-1)^(1/2))

Fricas [A] (verification not implemented)

none

Time = 0.34 (sec) , antiderivative size = 170, normalized size of antiderivative = 1.06 \[ \int x^2 \left (d+e x^2\right ) \left (a+b \sec ^{-1}(c x)\right ) \, dx=\frac {24 \, a c^{5} e x^{5} + 40 \, a c^{5} d x^{3} + 8 \, {\left (3 \, b c^{5} e x^{5} + 5 \, b c^{5} d x^{3} - 5 \, b c^{5} d - 3 \, b c^{5} e\right )} \operatorname {arcsec}\left (c x\right ) + 16 \, {\left (5 \, b c^{5} d + 3 \, b c^{5} e\right )} \arctan \left (-c x + \sqrt {c^{2} x^{2} - 1}\right ) + {\left (20 \, b c^{2} d + 9 \, b e\right )} \log \left (-c x + \sqrt {c^{2} x^{2} - 1}\right ) - {\left (6 \, b c^{3} e x^{3} + {\left (20 \, b c^{3} d + 9 \, b c e\right )} x\right )} \sqrt {c^{2} x^{2} - 1}}{120 \, c^{5}} \]

[In]

integrate(x^2*(e*x^2+d)*(a+b*arcsec(c*x)),x, algorithm="fricas")

[Out]

1/120*(24*a*c^5*e*x^5 + 40*a*c^5*d*x^3 + 8*(3*b*c^5*e*x^5 + 5*b*c^5*d*x^3 - 5*b*c^5*d - 3*b*c^5*e)*arcsec(c*x)
 + 16*(5*b*c^5*d + 3*b*c^5*e)*arctan(-c*x + sqrt(c^2*x^2 - 1)) + (20*b*c^2*d + 9*b*e)*log(-c*x + sqrt(c^2*x^2
- 1)) - (6*b*c^3*e*x^3 + (20*b*c^3*d + 9*b*c*e)*x)*sqrt(c^2*x^2 - 1))/c^5

Sympy [A] (verification not implemented)

Time = 4.38 (sec) , antiderivative size = 294, normalized size of antiderivative = 1.83 \[ \int x^2 \left (d+e x^2\right ) \left (a+b \sec ^{-1}(c x)\right ) \, dx=\frac {a d x^{3}}{3} + \frac {a e x^{5}}{5} + \frac {b d x^{3} \operatorname {asec}{\left (c x \right )}}{3} + \frac {b e x^{5} \operatorname {asec}{\left (c x \right )}}{5} - \frac {b d \left (\begin {cases} \frac {x \sqrt {c^{2} x^{2} - 1}}{2 c} + \frac {\operatorname {acosh}{\left (c x \right )}}{2 c^{2}} & \text {for}\: \left |{c^{2} x^{2}}\right | > 1 \\- \frac {i c x^{3}}{2 \sqrt {- c^{2} x^{2} + 1}} + \frac {i x}{2 c \sqrt {- c^{2} x^{2} + 1}} - \frac {i \operatorname {asin}{\left (c x \right )}}{2 c^{2}} & \text {otherwise} \end {cases}\right )}{3 c} - \frac {b e \left (\begin {cases} \frac {c x^{5}}{4 \sqrt {c^{2} x^{2} - 1}} + \frac {x^{3}}{8 c \sqrt {c^{2} x^{2} - 1}} - \frac {3 x}{8 c^{3} \sqrt {c^{2} x^{2} - 1}} + \frac {3 \operatorname {acosh}{\left (c x \right )}}{8 c^{4}} & \text {for}\: \left |{c^{2} x^{2}}\right | > 1 \\- \frac {i c x^{5}}{4 \sqrt {- c^{2} x^{2} + 1}} - \frac {i x^{3}}{8 c \sqrt {- c^{2} x^{2} + 1}} + \frac {3 i x}{8 c^{3} \sqrt {- c^{2} x^{2} + 1}} - \frac {3 i \operatorname {asin}{\left (c x \right )}}{8 c^{4}} & \text {otherwise} \end {cases}\right )}{5 c} \]

[In]

integrate(x**2*(e*x**2+d)*(a+b*asec(c*x)),x)

[Out]

a*d*x**3/3 + a*e*x**5/5 + b*d*x**3*asec(c*x)/3 + b*e*x**5*asec(c*x)/5 - b*d*Piecewise((x*sqrt(c**2*x**2 - 1)/(
2*c) + acosh(c*x)/(2*c**2), Abs(c**2*x**2) > 1), (-I*c*x**3/(2*sqrt(-c**2*x**2 + 1)) + I*x/(2*c*sqrt(-c**2*x**
2 + 1)) - I*asin(c*x)/(2*c**2), True))/(3*c) - b*e*Piecewise((c*x**5/(4*sqrt(c**2*x**2 - 1)) + x**3/(8*c*sqrt(
c**2*x**2 - 1)) - 3*x/(8*c**3*sqrt(c**2*x**2 - 1)) + 3*acosh(c*x)/(8*c**4), Abs(c**2*x**2) > 1), (-I*c*x**5/(4
*sqrt(-c**2*x**2 + 1)) - I*x**3/(8*c*sqrt(-c**2*x**2 + 1)) + 3*I*x/(8*c**3*sqrt(-c**2*x**2 + 1)) - 3*I*asin(c*
x)/(8*c**4), True))/(5*c)

Maxima [A] (verification not implemented)

none

Time = 0.21 (sec) , antiderivative size = 232, normalized size of antiderivative = 1.44 \[ \int x^2 \left (d+e x^2\right ) \left (a+b \sec ^{-1}(c x)\right ) \, dx=\frac {1}{5} \, a e x^{5} + \frac {1}{3} \, a d x^{3} + \frac {1}{12} \, {\left (4 \, x^{3} \operatorname {arcsec}\left (c x\right ) - \frac {\frac {2 \, \sqrt {-\frac {1}{c^{2} x^{2}} + 1}}{c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )} + c^{2}} + \frac {\log \left (\sqrt {-\frac {1}{c^{2} x^{2}} + 1} + 1\right )}{c^{2}} - \frac {\log \left (\sqrt {-\frac {1}{c^{2} x^{2}} + 1} - 1\right )}{c^{2}}}{c}\right )} b d + \frac {1}{80} \, {\left (16 \, x^{5} \operatorname {arcsec}\left (c x\right ) + \frac {\frac {2 \, {\left (3 \, {\left (-\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {3}{2}} - 5 \, \sqrt {-\frac {1}{c^{2} x^{2}} + 1}\right )}}{c^{4} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2} + 2 \, c^{4} {\left (\frac {1}{c^{2} x^{2}} - 1\right )} + c^{4}} - \frac {3 \, \log \left (\sqrt {-\frac {1}{c^{2} x^{2}} + 1} + 1\right )}{c^{4}} + \frac {3 \, \log \left (\sqrt {-\frac {1}{c^{2} x^{2}} + 1} - 1\right )}{c^{4}}}{c}\right )} b e \]

[In]

integrate(x^2*(e*x^2+d)*(a+b*arcsec(c*x)),x, algorithm="maxima")

[Out]

1/5*a*e*x^5 + 1/3*a*d*x^3 + 1/12*(4*x^3*arcsec(c*x) - (2*sqrt(-1/(c^2*x^2) + 1)/(c^2*(1/(c^2*x^2) - 1) + c^2)
+ log(sqrt(-1/(c^2*x^2) + 1) + 1)/c^2 - log(sqrt(-1/(c^2*x^2) + 1) - 1)/c^2)/c)*b*d + 1/80*(16*x^5*arcsec(c*x)
 + (2*(3*(-1/(c^2*x^2) + 1)^(3/2) - 5*sqrt(-1/(c^2*x^2) + 1))/(c^4*(1/(c^2*x^2) - 1)^2 + 2*c^4*(1/(c^2*x^2) -
1) + c^4) - 3*log(sqrt(-1/(c^2*x^2) + 1) + 1)/c^4 + 3*log(sqrt(-1/(c^2*x^2) + 1) - 1)/c^4)/c)*b*e

Giac [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 9792 vs. \(2 (139) = 278\).

Time = 1.93 (sec) , antiderivative size = 9792, normalized size of antiderivative = 60.82 \[ \int x^2 \left (d+e x^2\right ) \left (a+b \sec ^{-1}(c x)\right ) \, dx=\text {Too large to display} \]

[In]

integrate(x^2*(e*x^2+d)*(a+b*arcsec(c*x)),x, algorithm="giac")

[Out]

1/120*(40*b*c^2*d*arccos(1/(c*x))/(c^6 + 5*c^6*(1/(c^2*x^2) - 1)/(1/(c*x) + 1)^2 + 10*c^6*(1/(c^2*x^2) - 1)^2/
(1/(c*x) + 1)^4 + 10*c^6*(1/(c^2*x^2) - 1)^3/(1/(c*x) + 1)^6 + 5*c^6*(1/(c^2*x^2) - 1)^4/(1/(c*x) + 1)^8 + c^6
*(1/(c^2*x^2) - 1)^5/(1/(c*x) + 1)^10) - 20*b*c^2*d*log(abs(sqrt(-1/(c^2*x^2) + 1) + 1/(c*x) + 1))/(c^6 + 5*c^
6*(1/(c^2*x^2) - 1)/(1/(c*x) + 1)^2 + 10*c^6*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^4 + 10*c^6*(1/(c^2*x^2) - 1)^3/
(1/(c*x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*x) + 1)
^8 + c^6*(1/(c^2*x^2) - 1)^5/(1/(c*x) + 1)^10)*(1/(c*x) + 1)^10) + 30*b*e*(1/(c^2*x^2) - 1)^4*sqrt(-1/(c^2*x^2
) + 1)/((c^6 + 5*c^6*(1/(c^2*x^2) - 1)/(1/(c*x) + 1)^2 + 10*c^6*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^4 + 10*c^6*(
1/(c^2*x^2) - 1)^3/(1/(c*x) + 1)^6 + 5*c^6*(1/(c^2*x^2) - 1)^4/(1/(c*x) + 1)^8 + c^6*(1/(c^2*x^2) - 1)^5/(1/(c
*x) + 1)^10)*(1/(c*x) + 1)^9) - 24*a*e*(1/(c^2*x^2) - 1)^5/((c^6 + 5*c^6*(1/(c^2*x^2) - 1)/(1/(c*x) + 1)^2 + 1
0*c^6*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^4 + 10*c^6*(1/(c^2*x^2) - 1)^3/(1/(c*x) + 1)^6 + 5*c^6*(1/(c^2*x^2) -
1)^4/(1/(c*x) + 1)^8 + c^6*(1/(c^2*x^2) - 1)^5/(1/(c*x) + 1)^10)*(1/(c*x) + 1)^10))*c

Mupad [F(-1)]

Timed out. \[ \int x^2 \left (d+e x^2\right ) \left (a+b \sec ^{-1}(c x)\right ) \, dx=\int x^2\,\left (e\,x^2+d\right )\,\left (a+b\,\mathrm {acos}\left (\frac {1}{c\,x}\right )\right ) \,d x \]

[In]

int(x^2*(d + e*x^2)*(a + b*acos(1/(c*x))),x)

[Out]

int(x^2*(d + e*x^2)*(a + b*acos(1/(c*x))), x)